package pl.streamsoft.test.model.entities;

public class CurrencyTypeEntity {

	private Integer id;
	private String name;
	private String acronym;

	public CurrencyTypeEntity() {
		this("", "");
	}

	public CurrencyTypeEntity(String name, String acronym) {
		this.id = null;
		this.name = name;
		this.acronym = acronym;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAcronym() {
		return acronym;
	}

	public void setAcronym(String acronym) {
		this.acronym = acronym;
	}

	public String toString() {
		return getAcronym();
	}

}
